package com.xgp.microChat.service.impl;

import com.xgp.microChat.service.ScheduledService;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

/**
 * 定时任务
 */
@Service
public class ScheduledServiceImpl implements ScheduledService {

    @Scheduled(cron = "* * 7 * * MON-FRI")
    @Override
    public void hello() {
        System.out.println("早上起床叫醒服务！======================================");
    }
}
